<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="css/bootstrap.min.css" />
    <script src="js/jquery-3.2.1.min.js" ></script>
     <script src="js/bootstrap.min.js" ></script>
    <title>客户入住</title>
    <style type="text/css">
    body{
      background:url(img/bg1.jpg) no-repeat;
      background-color: rgba(240, 0, 0, 0.1);
      background-size: 100% 100%;
      background-size: cover;
        margin:0 auto;

    }
    #login_frame div{
      margin: 10px;
        text-align: center;
    }
    #sub{
        width:120px;
        height:40px;
        text-align:center;
        font-size: 20px;
        line-height: 40px;
        color: rgb(88, 88, 88);
        font-weight: bold;
        background-color: #fdd2ed;
        border-radius: 6px;
        border: 0;
        border: 2px solid black;
        margin: 0 auto;

    }
    #login_frame {
        width: 440px;
        height: 350px;
        padding: 13px;
        position: absolute;
        left: 50%;
        top: 40%;
        margin-left: -200px;
        margin-top: -200px;
        background-color: rgba(240, 255, 255, 0.5);
        border-radius: 10px;
        text-align: center;
    }
    .text_field {
        width: 270px;
      
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;

        border: 2px solid black;

    }
    .label_input {
        font-size: 14px;
        width: 115px;
       
        text-align: center;
        
        background-color: rgba(66, 66, 66, 0.3);
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
    }
    form p > * {
        height: 35px;
        line-height: 35px;
        padding: 0;
        margin: 0;
        display: inline-block;
        vertical-align: middle;
        border: 2px solid black;
    }
    </style>
</head>
<body>
  <div id="login_frame">

  <form class="text-center" method="post" action="add_check_server.php">
  <div >
    <p><label for="exampleInputEmail1" class="label_input">房间号</label>
    <input type="text" class="text_field" id="exampleInputEmail1" value="<?php echo $_GET["id"]; ?>" name="房间号"></p>
  </div>
  <div >
    <p><label for="exampleInputPassword1" class="label_input">姓名</label>
    <input type="text" class="text_field" id="exampleInputPassword1" name="姓名"></p>
  </div>
  <div >
    <p><label for="exampleInputPassword1" class="label_input">性别</label>
    <input type="text" class="text_field" id="exampleInputPassword1" name="性别"></p>
  </div>
  <div >
    <p><label for="exampleInputPassword1" class="label_input">电话</label>
    <input type="text" class="text_field" id="exampleInputPassword1" name="电话"></p>
  </div>
    <div >
    <p><label for="exampleInputPassword1" class="label_input">身份证</label>
    <input type="text" class="text_field" id="exampleInputPassword1" name="身份证"></p>
  </div>
     <div >
    <p><label for="exampleInputPassword1" class="label_input">入住时间</label>
    <input type="text" class="text_field" id="exampleInputPassword1" value="<?php echo @date("Y-m-d H:i:s", time()+8*60*60); ?>" name="入住时间"></p>
  </div>
  <button type="submit" id="sub">提交</button>

</form>
</div>
</body>
</html>